﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace PortalDeEmpregos
{
    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Calendar1.SelectedDate = System.DateTime.Today;
            }
            if (HttpContext.Current.User.Identity.IsAuthenticated)
            {
                Label1.Visible = true;
                LblLogout.Visible = true;
                Lbllogin.Visible = false;
            }
            else
            {
                LblLogout.Visible = false;
                Lbllogin.Visible = true;
           
            }

        }

    }
}
